<?php
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('Wroom, l\'encyclopedie de la F1');
echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
	<head>
		<?php echo $this->headMeta(); ?>
		<?php echo $this->headTitle(); ?>
		<?php echo $this->headLink()->prependStylesheet($this->baseUrl().'/css/style.css')
									->prependStylesheet($this->baseUrl().'/css/jquery.fancybox.css')
									->prependStylesheet($this->baseUrl().'/css/jquery.ui.css')
									->prependAlternate($this->url(array('controller'=>'rss','action'=>'index'), 'default'), 'application/rss+xml', 'RSS'); ?>
		<?php echo $this->headScript()->appendFile($this->baseUrl().'/js/jquery.js')
									  ->appendFile($this->baseUrl().'/js/jquery.fancybox.js')
									  ->appendFile($this->baseUrl().'/js/jquery.qtip.js')
									  ->appendFile($this->baseUrl().'/js/jquery.ui.js')
									  ->appendFile($this->baseUrl().'/js/js.js'); ?>
		
	</head>
	<body>
		<div id="wrapper">
			<div id="header">
				<img alt="logo" id="logo" src="<?php echo $this->baseUrl().'/images/wroom.png'; ?>" />
				<div id="nav">
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'index','action'=>'index'), 'default'); ?>">Accueil</a>
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'pilote','action'=>'index'), 'default'); ?>">Repertoire des pilotes</a>
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'circuit','action'=>'index'), 'default'); ?>">Les circuits 2011</a>
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'ecurie','action'=>'index'), 'default'); ?>">Ecuries</a>
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'resultat','action'=>'index'), 'default'); ?>">Résultats</a>
					<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'rss','action'=>'index'), 'default'); ?>"><img alt="rss" id="imgrss" src="<?php echo $this->baseUrl().'/images/rss.png'; ?>" /> RSS</a>
				</div>
			</div>
			<div id="content">
				<?php echo $this->layout()->content; ?>
				<div style="clear:both;"></div>
			</div>
			<div id="footer">
				Etude de cas PHP | IUT du Limousin - Département Informatique
			</div>
		</div>
	</body>
</html>